/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"814D15EA-5393-4E7F-A5DD-019AA32C269C"}
 */
function nuevo(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_UNIDAD',JSWindow.MODAL_DIALOG)
	forms.unidades_dtl.controller.newRecord()
	forms.unidades_dtl.controller.show($win)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @private
 *
 * @properties={typeid:24,uuid:"958239CB-7B60-42BE-9C7B-1659AF7615C7"}
 */
function modificar(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_UNIDAD',JSWindow.MODAL_DIALOG)
	forms.unidades_dtl.controller.show($win)
}
